package com.aggron.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * jwt的配置信息
 * @author liuhuan on 2018/6/4.
 */
@Component
@ConfigurationProperties(prefix =JwtConfig.JWT_PREFIX )
@Data
public class JwtConfig {
    public static final String JWT_PREFIX="jwt";

    private String tokenHeader;

    private int expire;

    private String rsaSecret;

    private String auth;

    private String md5Key;

}
